/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 产品目录
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TSiteProductCatalog")
public class TSiteProductCatalog implements Serializable{

	private static final long serialVersionUID = 1L;

	private String CatalogID;//目录编号CHAR(15)PK
	
	private String ParentCatalogID;//父目录编号
	
	private String Name;//目录名称VARCHAR(256)
	
	private String Des;//目录说明VARCHAR(512)
	
	private int ChildCount;//子目录个数INTEGER
	
	private byte Type;//目录类型TINYINT
	
	private String ClassID;//相关类CHAR(15)
	
	private String RelShopClass;//相关商店类
	
	private String DefaultTemplateID;//商品计量单位VARCHAR(30)目录可以设置默认的计量单位，商品也可以独立设置，一个商品默认的计量单位为该目录的计量单位，如果该目录没有计量单位，则一直往上找，直到找到一个默认计量单位
	
	
	public TSiteProductCatalog(){}
	
	
	public TSiteProductCatalog(String catalogID){
		this.CatalogID=catalogID;
	}
	
	@Id
	@Column(name = "CatalogID", length=15)
	public String getCatalogID() {
		return CatalogID;
	}

	public void setCatalogID(String catalogID) {
		CatalogID = catalogID;
	}


	@Column(name = "Name", length=256)
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	@Column(name = "Des", length=512)
	public String getDes() {
		return Des;
	}

	public void setDes(String des) {
		Des = des;
	}

	@Column(name = "ChildCount")
	public int getChildCount() {
		return ChildCount;
	}

	public void setChildCount(int childCount) {
		ChildCount = childCount;
	}

	@Column(name = "Type")
	public byte getType() {
		return Type;
	}

	public void setType(byte type) {
		Type = type;
	}

	@Column(name = "ClassID", length=15)
	public String getClassID() {
		return ClassID;
	}

	public void setClassID(String classID) {
		ClassID = classID;
	}

	@Column(name = "RelShopClass", length=15)
	public String getRelShopClass() {
		return RelShopClass;
	}

	public void setRelShopClass(String relShopClass) {
		RelShopClass = relShopClass;
	}

	@Column(name = "ParentCatalogID", length=15)
	public String getParentCatalogID() {
		return ParentCatalogID;
	}


	public void setParentCatalogID(String parentCatalogID) {
		ParentCatalogID = parentCatalogID;
	}

	@Column(name = "DefaultTemplateID", length=15)
	public String getDefaultTemplateID() {
		return DefaultTemplateID;
	}


	public void setDefaultTemplateID(String defaultTemplateID) {
		DefaultTemplateID = defaultTemplateID;
	}


}
